cmake_minimum_required(VERSION 2.8)
project(camXml)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_COMPILER "g++")
set(CMAKE_BUILD_TYPE "Debug")

set( EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin )
set( LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib )

#OpenCV
find_package(OpenCV REQUIRED)

add_executable(main main.cpp)
target_link_libraries(main
        ${OpenCV_LIBS}
)

add_executable(writeYml writeYml.cpp)
target_link_libraries(writeYml
        ${OpenCV_LIBS}
)

add_executable(readYml readYml.cpp)
target_link_libraries(readYml
        ${OpenCV_LIBS}
)